Adwaita: Use $menu_color background in popover.menu
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 30 Jun 2019 22:47:32 +0000 (19:47 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 30 Jun 2019 22:47:32 +0000 (19:47 -0300)
commitfe65da05beed4fae4556185c1bfe5b15de80c29d
treefcf370a598d117ba712d4c9fd4eb0e58caf4c3f9
parent3b6ee32f83882c8c2c736c7bb504a47bf1fdf407
Adwaita: Use $menu_color background in popover.menu

GtkPopoverMenus should mimic menus. Commit d936967b7a8 introduced
some CSS related to menu popovers, however, it hardcodes 'white'
as the background color. That is problematic for the dark theme.

Use '$menu_color' instead of 'white', since $menu_color both
guarantees menu popovers and menus match, and already handles
different colors for dark and light theme variants.
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css